package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppFansDao;
import com.vf.admin.client.service.AppFansService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppFans;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 粉丝
 */
@Service
public class AppFansServiceImpl implements AppFansService {

    @Autowired
    AppFansDao appFansDao;

    @Override
    public List<AppFans> list(Map<String, Object> paraMap, SplitPageBean splitPage) {
        return appFansDao.list(paraMap, splitPage);
    }

    @Override
    public AppFans get(Integer id) {
        return appFansDao.get(id);
    }

    @Override
    public void save(AppFans haoYou) {
        appFansDao.save(haoYou);
    }

    @Override
    public void del(Integer id) {
        appFansDao.del(id);
    }

    @Override
    public List<AppFans> findByFans(Map<String, Object> paraMap, SplitPageBean splitPageBean) {
        return appFansDao.findByFans(paraMap, splitPageBean);
    }
}
